package com.kust.smarhome.background.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author iAuzre
 * @since 2021-07-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("evaluate")
public class Evaluate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @TableField("order_form_id")
    private String orderFormId;

    @TableField("commodity_id")
    private String commodityId;

    @TableField("info")
    private String info;

    @TableField("imgurl1")
    private String imgurl1;

    @TableField("imgurl2")
    private String imgurl2;

    @TableField("imgurl3")
    private String imgurl3;

    @TableField("imgurl4")
    private String imgurl4;

    @TableField("created")
    private LocalDateTime created;

    @TableField("state")
    private Integer state;


}
